package com.candy.bean;

public class Test01 {
    public static void main(String[] args) {
//        Student stu_01=new Student();
//        Student.sayHi();
//        stu_01.sayBye();
        Soldier s1=new Soldier();
        Soldier s2=new Soldier();
        Gun g1=new AK_47();
        Gun g2=new K_98();
        s1.kill(g1);
        s2.kill(g2);





    }
}
